package moveMysql;

import java.io.Serializable;

public class Subject implements Serializable {
    private Long id;
    private Long subsiteId;
    private String name;
    private String typeName;
    private String targetUrl;

    @Override
    public String toString() {
        return "Subject{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", typeName='" + typeName + '\'' +
                ", targetUrl='" + targetUrl + '\'' +
                ", subsiteId=" + subsiteId +
                '}';
    }

    public Subject() {
    }

    public Subject(Long id, String name, String typeName, String targetUrl, Long subsiteId) {
        this.id = id;
        this.name = name;
        this.typeName = typeName;
        this.targetUrl = targetUrl;
        this.subsiteId = subsiteId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public Long getSubsiteId() {
        return subsiteId;
    }

    public void setSubsiteId(Long subsiteId) {
        this.subsiteId = subsiteId;
    }
}
